package cn.appsys.dao.appCategorydDao;

import cn.appsys.pojo.AppCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppCategoryMapper {

    //根据父级分类id查出子级分类
    List<AppCategory> qryAppCategoryById(@Param("pid") Integer pid) throws Exception;

    //根据id查出该类信息
    AppCategory qryCategoryById(@Param("id") Integer id) throws Exception;

    public List<AppCategory> getAppCategoryListByParentId(@Param("parentId") Integer parentId)throws Exception;

}
